package test;

import org.springframework.stereotype.Component;

@Component("people")

public class Bus implements Car{
    public void drive()
    {
        System.out.println("司机开着公交车");
    }
}
